package com.haier.waterdevice;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

/**
 * Created by Administrator on 2016/11/15.
 */

public class ChooseWIFIActivity extends BaseActivity implements View.OnClickListener{
    private Button nextBt;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_choose_wifi);
        init();
    }

    private void init() {
        setBackEnable(false);
        setTitle("选择设备WIFI热点");
        nextBt = (Button) findViewById(R.id.next_bt);
        nextBt.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.next_bt:
                Intent intent = new Intent(this, MainActivity.class);
                startActivity(intent);
                break;
            default:
                break;
        }
    }
}
